<?php $this->load->view('common/head');?>
<?php $this->load->view('common/navbar');?>
<div class="panel panel-default">
  <!-- Default panel contents -->
  <div class="panel-heading">专营店基本信息</div>

  <!-- Table -->
  <table class="table table-condensed">
    <tbody>
      <tr>
        <td class="bg-primary col-md-1">所属区：</td>
        <td><?php echo $storeData['region'] ?></td>
      </tr>
      <tr>
        <td class="bg-primary col-md-1">专营店：</td>
        <td><?php echo $storeData['storeName'] ?></td>
      </tr>
      <tr>
        <td class="bg-primary col-md-1">所属双月：</td>
        <td><?php echo $procData['timeUnitStr'] ?></td>
      </tr>
    </tbody>
  </table>
</div>
<?php $this->load->view('CarProject/settleList', $this->viewData); ?>
<div style="border: 1px solid #fff; width: 95%;margin: 0 auto;" id="detail">
</div>
<script type="text/javascript">
  $(function(){
    <?php $projectList = array_values($projectList); ?>
    $("#detail").load('<?=printUrl('CarProject','settleCheck');?>', {procId:<?=$projectList[0]['procId']?>,projectId:<?=$projectList[0]['id']?>});
  });
</script>
<?php
if ($isBubao) {
  $this->load->view('CarSettleAgain/storeUploadForm', $this->viewData);
}else{
  $this->load->view('CarSettle/storeUploadForm', $this->viewData);  
}
?>
<?php $this->load->view('CarSettle/settleMoneyDetail', $this->viewData); ?>
<div class="text-center">
<button class="btn btn-default btn-primary" type="button" onclick="window.location.href='<?=$breadcrumb[count($breadcrumb)-2]['url']?>'">返回</button>
</div>
<?php $this->load->view('common/auditList', $this->viewData); ?>
<?php $this->load->view('common/foot');?>